package com.yomahub.liteflow.example.component.my;

import com.yomahub.liteflow.core.NodeComponent;
import com.yomahub.liteflow.example.bean.my.ResultVo;
import org.springframework.stereotype.Component;

/**
 * 初始化参数检查组件
 */
@Component("C")
public class CCmp extends NodeComponent {

    @Override
    public void process() throws Exception {
        ResultVo r = this.getContextBean(ResultVo.class);
        r.setMsg("这是奇数");
    }
}
